package com.cv.platform.controller.platform.collection.vo.ref;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 视频平台 - 视频合集关联保存 Request VO
 *
 * @author Charles_XDXD
 */
@Data
@Schema(description = "视频平台 - 视频合集关联保存 Request VO")
public class CvVideoCollectionRefSaveReqVO {

    @Schema(description = "视频合集关联编号", example = "1024")
    private Long id;

    @Schema(description = "视频合集编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "视频合集编号不能为空")
    private Long collectionId;

    @Schema(description = "视频编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "视频编号不能为空")
    private Long videoId;
    
    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "排序不能为空")
    private Integer sorted;

}
